package org.yuangu.privacyfinance.activities;

import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;

import com.privacy.accountmgr.R;

import org.jetbrains.annotations.NotNull;
import org.yuangu.privacyfinance.activities.viewmodel.TransactionListViewModel;
import org.yuangu.privacyfinance.activities.viewmodel.TransactionsViewModel;

public class TransactionsActivity extends TransactionListActivity{
    @Override
    protected Class<? extends TransactionListViewModel> getViewModelClass() {
        return TransactionsViewModel.class;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }
    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.note_setting, menu);
        return true;
    }


    @Override
    public boolean onOptionsItemSelected(@NotNull MenuItem item) {
        switch (item.getItemId()) {
            case R.id.privacy_album_setting:
                // startActivity(new Intent(TransactionsActivity.this, AboutSettingActivity.class));
                break;
            default:
                break;
        }
        return true;
    }

}
